/************************* (C) COPYRIGHT 2008 Domain **************************
 * File Name   : stm32f10x_init.h                                             *
 * Author      : Domain                                                       *
 * E-mail      : do.main@msn.com                                              *
 * Version     : 1.0                                                          *
 * Date        : 2008/5/27                                                    *
 * Description :                                                              *
 ******************************************************************************/

#ifndef __STM32F10x_INIT_H
#define __STM32F10x_INIT_H

#include "arch/cc.h"

void stm32f10x_init(void);
void USART_SensorConfiguration(u32_t BaudRate);
//void usart1_init(u32 pclk2,u32 bound);
void uart2_cfg(void);
 void uart2_init(u32 pclk2,u32 bound);
 void USART2_Init(void);
void RedLED(void);
void GreenLED(void);
void TurnOffLED(void);
void time3_init(void);
void time4_init(void);

#ifndef BOOTLOADER
void TurnOnGSM(void);
void EmergOff(void);
void FlashLED(void *TurnOnLED, u8_t On);
void SYSCLKConfig_STOP(void);
#endif /* BOOTLOADER */
					 
#endif /* __STM32F10x_INIT_H */

/************************* (C) COPYRIGHT 2008 Domain ******* END OF FILE ******/
